/*
 * @Author: wuzhen
 * @Date: 2019-12-05 09:18:22
 * @LastEditors  : wuzhen
 * @LastEditTime : 2020-01-11 09:49:04
 * @Description: 用户管理
 */
const routes = [
  {
    path: "/userManagement",
    component: () => import("@/views/userManagement"),
    name: "userManagement",
    meta: {
      title: "用户管理",
      activeMenu: "userManagement"
    }
  },
  {
    path: "/userManagement/friends",
    component: () => import("@/components/main"),
    children: [
      {
        path: "/userManagement/friends/:id",
        component: () => import("@/views/userManagement/friends"),
        name: "userManagement-friends",
        meta: {
          title: "好友管理",
          activeMenu: "userManagement",
          hideTag: true
        }
      }
    ],
    meta: {
      title: "用户管理",
      activeMenu: "userManagement"
    }
  }
];

export default routes;
